//
//  PhotoTableViewCell.m
//  QingSongYiKe
//
//  Created by lanou3g on 16/3/22.
//  Copyright © 2016年 wanshuai. All rights reserved.
//

#import "PhotoTableViewCell.h"

@implementation PhotoTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self initLayout];
    }
    
    return self;
}

- (void)initLayout
{
    
    self.titleLable = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 30)];
    //self.titleLable.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:self.titleLable];
    
    self.photoImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.titleLable.frame), [UIScreen mainScreen].bounds.size.width, 300)];
    
    self.photoImageView.backgroundColor = [UIColor yellowColor];
    [self.contentView addSubview:self.photoImageView];
    
    
}


@end
